package com.heima.article.service;

import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;

import java.util.List;

/**
 * @author brianxia
 * @version 1.0
 * @date 2022-09-12 15:26
 */
public interface ArticleHomeService {
    List<ApArticle> load(ArticleHomeDto articleHomeDto,Short loadType,boolean isIndex);

    Long save(ArticleDto articleDto);
}
